package com.yonyou.brigade.rtpnr.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "GetAdmdivCodeList_1_0")
public class GetAdmdivCodeListReturn {
    private String errorCode;
    private String errorMsg;
    private CodeAdmdiv[] codeAdmdivList;

    @XmlElement(name = "ErrorCode")
    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    @XmlElement(name = "ErrorMsg")
    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    @XmlElementWrapper(name = "CodeAdmdivList")
    @XmlElement(name = "CodeAdmdiv")
    public CodeAdmdiv[] getCodeAdmdivList() {
        return codeAdmdivList;
    }

    public void setCodeAdmdivList(CodeAdmdiv[] codeAdmdivList) {
        this.codeAdmdivList = codeAdmdivList;
    }

    @XmlRootElement(name = "CodeAdmdiv")
    public static class CodeAdmdiv{
        private String admDivCode;
        private String admDivName;
        private String parentCode;
        private String fullName;
        private String quanPin;
        private String jianPin;
        private String firstLetter;
        private String isHot;
        private String relatedAirport;

        @XmlElement(name = "AdmDivCode")
        public String getAdmDivCode() {
            return admDivCode;
        }

        public void setAdmDivCode(String admDivCode) {
            this.admDivCode = admDivCode;
        }

        @XmlElement(name = "AdmDivName")
        public String getAdmDivName() {
            return admDivName;
        }

        public void setAdmDivName(String admDivName) {
            this.admDivName = admDivName;
        }

        @XmlElement(name = "ParentCode")
        public String getParentCode() {
            return parentCode;
        }

        public void setParentCode(String parentCode) {
            this.parentCode = parentCode;
        }

        @XmlElement(name = "FullName")
        public String getFullName() {
            return fullName;
        }

        public void setFullName(String fullName) {
            this.fullName = fullName;
        }

        @XmlElement(name = "QuanPin")
        public String getQuanPin() {
            return quanPin;
        }

        public void setQuanPin(String quanPin) {
            this.quanPin = quanPin;
        }

        @XmlElement(name = "JianPin")
        public String getJianPin() {
            return jianPin;
        }

        public void setJianPin(String jianPin) {
            this.jianPin = jianPin;
        }

        @XmlElement(name = "FirstLetter")
        public String getFirstLetter() {
            return firstLetter;
        }

        public void setFirstLetter(String firstLetter) {
            this.firstLetter = firstLetter;
        }

        @XmlElement(name = "IsHot")
        public String getIsHot() {
            return isHot;
        }

        public void setIsHot(String isHot) {
            this.isHot = isHot;
        }

        @XmlElement(name = "RelatedAirport")
        public String getRelatedAirport() {
            return relatedAirport;
        }

        public void setRelatedAirport(String relatedAirport) {
            this.relatedAirport = relatedAirport;
        }
    }
}
